home *** CD-ROM | disk | FTP | other *** search
- on initpopupstuhl
- global popupstatus, dlist
- set popupstatus to 0
- set d1list to list(489, 336, 52, 45, 462, 381, 74, 27, 460, 407, 61, 49, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d2list to list(468, 340, 52, 45, 469, 385, 70, 22, 474, 407, 64, 49, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d3list to list(447, 340, 52, 45, 466, 385, 70, 22, 505, 407, 33, 49, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d4list to list(641, 481, 1, 1, 469, 385, 56, 22, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d5list to list(641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1, 441, 344, 54, 33, 444, 377, 56, 35, 456, 412, 46, 45)
- set d6list to list(641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1, 462, 354, 74, 35, 466, 389, 70, 34, 470, 422, 62, 38)
- set d7list to list(641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1, 485, 350, 63, 35, 488, 385, 54, 33, 487, 418, 50, 41)
- set d8list to list(641, 481, 1, 1, 462, 383, 65, 27, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d9list to list(512, 339, 35, 45, 471, 385, 62, 21, 459, 406, 32, 49, 641, 481, 1, 1, 641, 481, 1, 1, 641, 481, 1, 1)
- set d10list to list(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
- set dlist to list(d1list, d2list, d3list, d4list, d5list, d6list, d7list, d8list, d9list, d10list)
- end
-
- on popupstuhlPuppet
- global popupstatus, MacPC
- set the text of field "kurztextoutput" to " "
- set the text of field "textoutput" to " "
- set the text of field "statusbar" to " "
- repeat with i = 42 to 48
- set the puppet of sprite i to 1
- end repeat
- set the cursor of sprite 40 to [604, 605]
- set popupstatus to 0
- end
-
- on popupstuhl
- global popupstatus, TonOnOff
- if rollOver(42) and (popupstatus = 0) then
- cursor([600, 601])
- updateStage()
- repeat with i = 7 down to 1
- set popupstatus to 1
- set the castNum of sprite 42 to cast ("k" & i)
- updateStage()
- end repeat
- setStuhlButtons(1)
- updateStage()
- repeat while rollOver(42)
- if the mouseDown then
- drehstuhl()
- end if
- end repeat
- else
- if popupstatus = 1 then
- repeat with i = 1 to 7
- set the castNum of sprite 42 to cast ("k" & i)
- updateStage()
- end repeat
- setStuhlButtons(10)
- updateStage()
- set popupstatus to 0
- cursor(0)
- updateStage()
- end if
- end if
- end
-